#ifndef SETTINGS_H
#define SETTINGS_H

#include <QSettings>
#include <QString>

class Settings : public QObject
{
    Q_OBJECT
public:
    Settings();

public:
    Q_INVOKABLE void setValue(QString key, QString value);
    Q_INVOKABLE QString getValue(QString key);
    Q_INVOKABLE QString getValue(QString key, QVariant defaultValue);


    QSettings mSettings;
};

#endif // SETTINGS_H
